#define _CRT_SECURE_NO_WARNINGS 1

#include"SingleList.h"

int main()
{
	SLNode* plist = NULL;

	SListPushBack(&plist, 1);
	SListPushBack(&plist, 2);
	SListPushBack(&plist, 3);
	SListPushBack(&plist, 4);

	SListErase(&plist, SListFind(plist, 4));

	SListPrint(plist);
	
	SListDestroy(&plist);
	return 0;
}